Class SimulationPanelImpl

java.lang.Object
com.cisco.pt.ipc.impl.IPCObjectImpl
com.cisco.pt.ipc.ui.impl.SimulationPanelImpl
All Implemented Interfaces:
IPCObject, SimulationPanel

public class SimulationPanelImpl extends IPCObjectImpl implements SimulationPanel
Information provided by the PKI file:

    \class SimulationPanel
    
    \brief SimulationPanel allows for UI manipulation of the Simulation Panel.
    
    \example appWindow().getSimulationPanel()
    
Author:
Auto-generated
  • Constructor Details

  • Method Details

    • setVisible

      public void setVisible(boolean bVisible)
      Information provided by the PKI file:
      
          \brief Shows or hides this widget from view.
          
          \param bVisible, true to show this widget, false to hide it.
          
              
      Specified by:
      setVisible in interface SimulationPanel
      Parameters:
      bVisible - Takes in a parameter of bVisible
    • setWidgetVisible

      public void setWidgetVisible(String widgetName, boolean bVisible)
      Information provided by the PKI file:
      
          \brief Shows or hides the specified child widget.
          
          \param widgetName, where widgetName can be one of the following: ResetSimulationBtn, BackBtn, PlayBtn, ForwardBtn, EditFilterBtn, ShowAllBtn, ConstantDelayBtn.
          \param bVisible, true to show this child widget, false to hide it.
          
              
      Specified by:
      setWidgetVisible in interface SimulationPanel
      Parameters:
      widgetName - Takes in a parameter of widgetName
      bVisible - Takes in a parameter of bVisible
    • setDisabled

      public void setDisabled(boolean bDisable)
      Information provided by the PKI file:
      
          \brief Enables or disables input events to this widget.
          
          \param bDisabled, true to disable input events to this widget, false to enable input events.
          
              
      Specified by:
      setDisabled in interface SimulationPanel
      Parameters:
      bDisable - Takes in a parameter of bDisable
    • setWidgetDisable

      public void setWidgetDisable(String widgetName, boolean bVisible)
      Information provided by the PKI file:
      
          \brief Enables or disables the specified child widget.
          
          \param widgetName, where widgetName can be one of the following: ResetSimulationBtn, BackBtn, PlayBtn, ForwardBtn, EditFilterBtn, ShowAllBtn, ConstantDelayBtn.
          \param bDisabled, true to disable input events to this child widget, false to enable input events.
          
              
      Specified by:
      setWidgetDisable in interface SimulationPanel
      Parameters:
      widgetName - Takes in a parameter of widgetName
      bVisible - Takes in a parameter of bVisible
    • resetSimulation

      public void resetSimulation()
      Information provided by the PKI file:
      
          \brief Simulates clicking on the Reset Simulation button.
          
              
      Specified by:
      resetSimulation in interface SimulationPanel
    • play

      public void play()
      Information provided by the PKI file:
      
          \brief Simulates clicking on the Auto Capture / Play button.
          
              
      Specified by:
      play in interface SimulationPanel
    • back

      public void back()
      Information provided by the PKI file:
      
          \brief Simulates clicking on the Back button.
          
              
      Specified by:
      back in interface SimulationPanel
    • forward

      public void forward()
      Information provided by the PKI file:
      
          \brief Simulates clicking on the Capture / Forward button.
          
              
      Specified by:
      forward in interface SimulationPanel
    • isPlaying

      public boolean isPlaying()
      Information provided by the PKI file:
      
          \brief Returns true if the simulation is currently playing, otherwise false.
          
          \return bool, true if the simulation is currently playing, otherwise false.
          
              
      Specified by:
      isPlaying in interface SimulationPanel
      Returns:
      boolean Returns a boolean
    • populateEventList

      public void populateEventList()
      Information provided by the PKI file:
      
          \brief Refreshes the display of the event list.
          
          \remark This function is generally not required unless there was direct manipulate of the events in the engine.
          
              
      Specified by:
      populateEventList in interface SimulationPanel
    • changePlaySpeed

      public void changePlaySpeed(int value)
      Information provided by the PKI file:
      
          \brief Changes the play speed of the simulation.
          
          \param value, the value of the play speed.
          
              
      Specified by:
      changePlaySpeed in interface SimulationPanel
      Parameters:
      value - Takes in a parameter of value
    • setFilter

      public void setFilter(String protocol, boolean bSet)
      Information provided by the PKI file:
      
          \brief Enables or disables the specified event list filter.
          
          \param protocol, the name of the protocol.
          \param bSet, true to check the event list filter, false to uncheck it.
          
              
      Specified by:
      setFilter in interface SimulationPanel
      Parameters:
      protocol - Takes in a parameter of protocol
      bSet - Takes in a parameter of bSet
    • setAllFilters

      public void setAllFilters()
      Information provided by the PKI file:
      
          \brief Enables or disables all of the event list filters.
          
              
      Specified by:
      setAllFilters in interface SimulationPanel
    • showFiltersDialog

      public void showFiltersDialog()
      Information provided by the PKI file:
      
          \brief Simulates clicking on the Edit Filters button.
          
              
      Specified by:
      showFiltersDialog in interface SimulationPanel
    • setConstantDelay

      public void setConstantDelay(boolean bSet)
      Information provided by the PKI file:
      
          \brief Enables or disables constant delay.
          
          \param bSet, true to enable constant delay, false to disable it.
          
              
      Specified by:
      setConstantDelay in interface SimulationPanel
      Parameters:
      bSet - Takes in a parameter of bSet